<template>
    <div>
        <Table :tableColumns="tableColumns" :tableData="tableData" />
    </div>
</template>
  
<script setup lang='ts'>
import Table from '@/components/Table.vue';

const tableColumns = [
    { key: 'id', label: 'ID' },
    { key: 'name', label: 'Name' },
    { key: 'email', label: 'Email' },
    { key: 'qrcodeUrl', label: 'QRCode' },
]

const tableData = [
    {
        id: 1,
        name: 'John Doe',
        email: 'john@example.com',
        qrcodeUrl: 'https://www.baidu.com',
    },
    {
        id: 2,
        name: 'zhangjia',
        email: 'john@345wer.com',
        qrcodeUrl: 'https://www.qq.com',
    },
]


</script>
  
